from django.conf.urls import url
from . import views

urlpatterns = [
    url('^list/(?P<category_id>\d+)/(?P<page_id>\d+)/$', views.SKUListView.as_view()),
    url('^hot/(?P<category_id>\d+)/$', views.SKUHotListView.as_view()),
    url('^detail/(?P<sku_id>\d+)/$', views.SKUDetailView.as_view()),
    url('^detail/visit/(?P<category_id>\d+)/$', views.CategoryVisitCountView.as_view()),
    url('^browse_histories/$', views.BrowseHistoriesView.as_view())
]
